package day12_thread_code.com.itheima.d7_thread_comunication;

public class Test {
    public static void main(String[] args) {
        Desk desk = new Desk();
        new ConsumerThread(desk, "消费者").start();
        new ConsumerThread(desk, "消费者1").start();

        new MakerThread(desk, "生产者").start();
        new MakerThread(desk, "生产者1").start();
        new MakerThread(desk, "生产者2").start();

    }
}
